package com.zscat.mallplus.entity.vo.oms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zscat.mallplus.entity.vo.pms.PmsSkuStockVo;
import com.zscat.mallplus.entity.vo.pms.ProductAttributeValueVo;
import com.zscat.mallplus.pms.entity.PmsProduct;
import com.zscat.mallplus.pms.entity.PmsSkuStock;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author ZuRongTang
 * @Date 2020/2/26
 **/

@Data
public class CartItmes {


    private Long id;

    private Long productId;

    private Long productSkuId;

    private Long memberId;

    /**
     * 购买数量
     */
    private Integer quantity;

    /**
     * 添加到购物车的价格
     */
    private BigDecimal price;

    /**
     * 现在的价格
     */
    private BigDecimal presentPrice;

    /**
     * 销售属性1
     */
    private String sp1;

    /**
     * 销售属性2
     */
    private String sp2;

    /**
     * 销售属性3
     */
    private String sp3;

    /**
     * 商品主图
     */
    private String productPic;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 商品副标题（卖点）
     */
    private String productSubTitle;

    /**
     * 商品sku条码
     */
    private String productSkuCode;

    /**
     * 会员昵称
     */
    private String memberNickname;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 修改时间
     */
    private Date modifyDate;

    /**
     * 是否删除
     */
    private Integer deleteStatus;

    /**
     * 商品分类
     */
    private Long productCategoryId;

    private String productBrand;

    private String productSn;
    private String storeName;

    /**
     * 商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}]
     */
    private String productAttr;

    private Integer checked;
    @TableField(exist = false)
    private PmsProduct product;

    @TableField(exist = false)
    private PmsSkuStock skuStock;

    private Integer goodsType;

    private Integer skuMun;

    private List<PmsSkuStockVo> pmsSkuStockVoList;

    private List<ProductAttributeValueVo> productAttributeValueVoList;

}
